package com.xinghou.platform.dao.main.common;

import com.xinghou.platform.dao.bases.redis.RedisOperator;
import com.xinghou.platform.util.AppContextUtil;

public class DBStoreLevelCached {

	public static int CACHED_STORE_DB_INDEX = 6;
	public static String CACHE_STORE_UID = "storecache:storeid:%s";
	public static String CACHE_STORE_STATSTICS="storestatstics:storeid:%s";
	public static String  CACHE_STORE_STATSTICS_SHARECOUNT="storesharecount:storeid:%s";
	public static String CACHE_STOREBROW_UID = "storecache:storeid:%s";
	public static String CACHE_STOREBROW_USID = "storeuccache:userid,cardid:%s,%s";

	public static RedisOperator getRedisClient(){
		return (RedisOperator)AppContextUtil.getBean("cachedMainRedisOperator");
	}
	
}
